{template Public:Admin:header}

<form method="post" id="SubmitData">
     <table class="table table-hover">
          <thead>
               <tr>
                    <th width="20%"> <i class="fa fa-circle-o"></i> 项目名称 </th>
                    <th>
                         <div class="col-lg-6"><i class="fa fa-code"></i> 项目值</div>
                    </th>
               </tr>
          </thead>
          <tbody>

               <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>角色名称</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 角色名称 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="title" value="{if !empty($manage['title'])}{echo $manage['title']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               
               
                <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>icon</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> Icon </td><td>
                         <div class="col-lg-6">
                              <input type="text" name="icon" value="{if !empty($manage['icon'])}{echo $manage['icon']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               
               
                                               
               <tr>
                    <td class="width_160"><a title="" data-original-title="" data-content="<p class='text_color_999'> 角色状态 关闭后系统无法使用它</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 角色状态 </td>
                    <td>
                         <div class="col-lg-6">
                              <select name="status" class="form-control">
                                   <option value="0" {if empty($manage['status'])}selected="selected" {/if}>是否开启</option>
                                   <option value="1" {if !empty($manage['status'])}{if $manage['status']==1} selected="selected" {/if}{/if}>正常</option>
                                   <option value="2" {if !empty($manage['status'])}{if $manage['status']==2} selected="selected" {/if}{/if}>关闭</option>
                              </select>
                         </div>
                    </td>
               </tr>
               
      		 <tr>
                    <td  style="background-color:#f5f5f5"> <strong>系统权限</strong></td>
                    <td style="background-color:#f5f5f5">  
                    </td>
               </tr>
              {if C('adminmenu')}
                   {foreach C('adminmenu') $adminmenu}
             
                        <tr>
                            <td> <a title="" data-original-title="" data-content="<p class='text_color_999'> {echo $adminmenu['name']}权限</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> {echo $adminmenu['name']}权限 </td><td>
                                 {foreach $authrule $auth}
                                   	 {if $adminmenu['key']==$auth['menu']}
                                          <div class="checkbox">
                                                <label>
                                                    <input type="checkbox" name="checkbox[]" value="{echo $auth['id']}"{if in_array($auth['id'],$rulesarray)}checked="checked"{/if}>
                                                    <span class="text">{echo $auth['title']} <span style="color:#999">({echo $auth['name']})</span> {if $auth['admin']==1}<span class="label label-darkorange">后台</span>{else}<span class="label label-success">前台</span>{/if}</span>
                                                </label>
                                          </div>
                                      {/if}
                                {/foreach}
                            </td>
                       </tr>
                      
                   {/foreach}
              {/if}
              
             <tr>
                    <td style="background-color:#f5f5f5"> <strong>应用权限</strong></td>
                    <td style="background-color:#f5f5f5"> 
                    </td>
               </tr>    
               
           		<tr>
                    <td class="width_160"><a title="" data-original-title="" data-content="<p class='text_color_999'>设置 '使用本组设置' 方式时,系统使用本组中的 '任务手续费' 选项 </p><p class='text_color_999'> 设置 '使用分类设置' 方式时,请在分类管理中设置手续费,系统使用分类中的手续费配置</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 收取手续费方式 </td>
                    <td>
                         <div class="col-lg-6">
                              <select name="feetype" class="form-control">
                                   <option value="0" {if empty($manage['feetype'])}selected="selected" {/if}>收取方式</option>
                                   <option value="1" {if !empty($manage['feetype'])}{if $manage['feetype']==1} selected="selected" {/if}{/if}>使用本组设置</option>
                                   <option value="2" {if !empty($manage['feetype'])}{if $manage['feetype']==2} selected="selected" {/if}{/if}>使用分类设置</option>
                              </select>
                         </div>
                    </td>
               </tr>
               
         		<tr>
                    <td> <a title="" data-original-title="" data-content="<p>任务手续费</p><p class='text_color_999'>中标后收取的费用,输入范围为 0~100,单位百分比</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 任务手续费 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="taskfee" value="{if !empty($manage['taskfee'])}{echo $manage['taskfee']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               
               <tr>
                    <td> <a title="" data-original-title="" data-content="<p>推广任务手续费</p><p class='text_color_999'>推广任务只支持单人任务</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 推广任务手续费 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="taskunionfee" value="{if !empty($manage['taskunionfee'])}{echo $manage['taskunionfee']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               
               <tr>
                    <td> <a title="" data-original-title="" data-content="<p>推广中标手续费</p><p class='text_color_999'>中标后收取的费用,输入范围为 0~100,单位百分比</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 推广中标手续费 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="successunionfee" value="{if !empty($manage['successunionfee'])}{echo $manage['successunionfee']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               
                <tr>
                    <td> <a title="" data-original-title="" data-content="<p>发布服务数量</p><p class='text_color_999'>0不限</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 发布服务数量 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="addservice" value="{if !empty($manage['addservice'])}{echo $manage['addservice']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>              
               
               
               <!--
               <tr>
                    <td> <a title="" data-original-title="" data-content="<p>使用技能数量</p><p class='text_color_999'>该组能使用技能的数量如填 6 时,只能使用6个技能</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 使用技能数量 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="allowskillnumber" value="{if !empty($manage['allowskillnumber'])}{echo $manage['allowskillnumber']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               -->
               <tr>
                    <td class="width_160"><a title="" data-original-title="" data-content="<p class='text_color_999'> 发布服务审核方式</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 发布服务审核方式 </td>
                    <td>
                         <div class="col-lg-6">
                              <select name="checkservice" class="form-control">
                                   <option value="0" {if empty($manage['checkservice'])}selected="selected" {/if}>选择审核方式</option>
                                   <option value="1" {if !empty($manage['checkservice'])}{if $manage['checkservice']==1} selected="selected" {/if}{/if}>自动</option>
                                   <option value="2" {if !empty($manage['checkservice'])}{if $manage['checkservice']==2} selected="selected" {/if}{/if}>手动</option>
                              </select>
                         </div>
                    </td>
               </tr>
               
               <tr>
                    <td class="width_160"><a title="" data-original-title="" data-content="<p class='text_color_999'> 是否能投稿</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 是否能投稿 </td>
                    <td>
                         <div class="col-lg-6">
                              <select name="adddraft" class="form-control">
                                   <option value="0" {if empty($manage['adddraft'])}selected="selected" {/if}>是否能投稿</option>
                                   <option value="1" {if !empty($manage['adddraft'])}{if $manage['adddraft']==1} selected="selected" {/if}{/if}>可以</option>
                                   <option value="2" {if !empty($manage['adddraft'])}{if $manage['adddraft']==2} selected="selected" {/if}{/if}>禁止</option>
                              </select>
                         </div>
                    </td>
               </tr> 
               

               
          </tbody>
     </table>
     <div class="padding_20 text-center">
          <input type="hidden" name="Submit" value="true"/>
          <button class="btn btn-primary shiny" type="submit">提 交</button>
     </div>
</form>

<!--Bootstrap Tags Input--> 
<script src="{echo AURL}/js/tagsinput/bootstrap-tagsinput.js"></script> 

				
{template Public:Admin:footer}